<?php
/* @var $this GiadangtinController */
/* @var $dataProvider CActiveDataProvider */

$this->breadcrumbs=array(
    'Giá đăng tin',
);

?>

<h1>Giá đăng tin</h1>


<?php $this->widget('bootstrap.widgets.TbGridView', array(
    'id' => 'form-ke-hoach-dau-thau-grid',
    'dataProvider' => $model->search(),
    'filter' => $model,
    'columns' => array(
        'id',
        'form',
        'gia',
        array(
            'class' => 'bootstrap.widgets.TbButtonColumn',
            'template' => '{update} {delete}',
            'buttons' => array
            (

                'update' => array
                (
                    'label' => 'Cập nhật',
                    'icon' => 'pencil',
                    'url' => 'Yii::app()->createUrl("giadangtin/update", array("id"=>$data->id))',
                    'options' => array(
                        'class' => 'btn btn-small capnhat',
                    ),
                ),
                'delete' => array
                (
                    'label' => 'Xóa',
                    'icon' => 'trash',
                    'url' => 'Yii::app()->createUrl("giadangtin/delete", array("id"=>$data->id))',
                    'options' => array(
                        'class' => 'btn btn-small xoa',
                    ),
                ),
            ),
            'htmlOptions'=>array(
                'style'=>'width: 130px',
            ),
        ),
    ),
)); ?>
